package com.flower.enjoyment.flower.entityDo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(value = "用户个人信息对象")
public class UserInfoDo {
    @ApiModelProperty(value = "ID")
    private String id;
    @ApiModelProperty(value = "openId")
    private String userOpenid;
    @ApiModelProperty(value = "用户头像")
    private String userHead;
    @ApiModelProperty(value = "用户昵称")
    private String userName;
    @ApiModelProperty(value = "用户性别")
    private String userGender;
    @ApiModelProperty(value = "国家")
    private String userCountry;
    @ApiModelProperty(value = "城市")
    private String userCity;
    @ApiModelProperty(value = "省级")
    private String userProvince;
    @ApiModelProperty(value = "最新登录时间")
    private Date userNewLogin;
    @ApiModelProperty(value = "余额")
    private Double amount;
    @ApiModelProperty(value = "赠送金额")
    private Double giveAmount;
    @ApiModelProperty(value = "今日收入")
    private Double todayIncome;
    @ApiModelProperty(value = "总收入")
    private Double totalIncome;
    @ApiModelProperty(value = "收入余额")
    private Double incomeBalance;
    @ApiModelProperty(value = "是否是店主，0不是，1是")
    private Integer isBoss;
    @ApiModelProperty(value = "预约数量")
    private Integer yuyueCou;
    private String sourceUserId;

    private Integer source;

    private Integer firstPay;
    @ApiModelProperty(value = "店铺ID")
    private String shopId;
    private Integer firstCardPay;
    @ApiModelProperty(value = "注册时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createTime;
    @ApiModelProperty(value = "分享获得总金额")
    private double shareUserAmount;

}